package com.yuntai.pms.model.entity.access;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: maoze@hsyuntai.com
 * Date: 2019-01-15
 * Time: 9:25
 */
@Data
public class HfpAccessBizRule implements Serializable {


    private static final long serialVersionUID = 5526431360507726319L;
    private  Long     accessRuleId;             //    `access_rule_id` bigint(15) NOT NULL AUTO_INCREMENT COMMENT '数据识别ID',
    private  String   accessId;                 //    `access_id` varchar(40) NOT NULL COMMENT '对接模块英文标识',
    private  String   accessName;               //    `access_name` varchar(80) NOT NULL COMMENT '对接模块名称',
    private  String   accessType;               //    `access_type` tinyint(2) NOT NULL COMMENT '对接模块类别',
    private  String   memo;                     //    `memo` varchar(256) DEFAULT NULL COMMENT '备注',
    private  Long     goodId;                   //    `good_id` bigint(15) DEFAULT NULL COMMENT '产品ID',
    private  Long     cmyId;                    //    `cmy_id` bigint(15) DEFAULT NULL COMMENT '企业ID',
    private  String   isDeleted;                //    `is_deleted` char(1) DEFAULT 'N' COMMENT '删除标示，N未删除 Y-已删除',
    private  Date     createTime;               //    `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    private  Date     updateTime;               //    `update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
    private  String   creator;                  //    `creator` varchar(20) NOT NULL DEFAULT '0' COMMENT '创建者',
    private  String   updator;                  //    `updator` varchar(20) DEFAULT NULL COMMENT '最后更新者',

    public String toString() {
        return JSON.toJSONString(this);
    }
}
